package com.itheima.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.admin.pojo.AdChannel;
import com.itheima.admin.pojo.AdSensitive;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AdSensitiveMapper extends BaseMapper<AdSensitive> {
    /**
     * 查询数据库中的所有敏感词
     * @return
     */
    @Select("select sensitives from ad_sensitive")
    List<String> selectSensitives();
}
